<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css2.css">
</head>

<body>
    <div class="creativeness">
        <div class="creativeness-box">
            <div class="founder-box">
                <div class="founder-sun">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
                <div class="founder-kong">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
                <div class="founder-shao">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
            </div>
            <div class="partner-box">
                <div class="partner-guo">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
                <div class="partner-luo">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
                <div class="partner-xu">
                    <img src="" alt="">
                    <p>孙奇峰</br>比升资本创始人</p>
                </div>
            </div>
        </div>
        <div class="btn-change">
            <img src="" alt="">
        </div>
    </div>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script>
        $(document).ready(function () {
            var show = false;
            $(".btn-change").click(function () {
                
                if(!show){
                    $(".partner-box").animate({
                        left: '0px',
                        top: '0px',
                    });
                    $(".founder-box").animate({
                        left: '35px',
                        top: '-24px',
                    });
                    $(".partner-box").css("z-index","1001");
                    $(".founder-box p").toggle(500);
                    // $(".partner-box p").css("display","block")
                    $(".partner-box p").toggle(500);
                }
                else{
                    $(".partner-box").animate({
                        left: '35px',
                        top: '-24px',
                    });
                    $(".founder-box").animate({
                        left: '0px',
                        top: '0px',
                    });
                    $(".partner-box").css("z-index","999");
                    $(".founder-box p").toggle(500);
                    // $(".partner-box p").css("display","block")
                    $(".partner-box p").toggle(500);
                }
                show = !show;
            });
            
        });
    </script>
</body>

</html>